/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package statisticaldata;

/**
 *
 * @author chris
 */
public class SortMethodTest {
    public static void main(String[] args) {
        StatisticalData[] statistics = new StatisticalData[5];
        statistics[0] = new StatisticalData(6.3);
        statistics[1] = new StatisticalData(5.9);
        statistics[2] = new StatisticalData(31.2);
        statistics[3] = new StatisticalData();
        statistics[4] = new StatisticalData(15.6);
        
        Sorter s = new Sorter(statistics);
        
        SortMethod sm = new SortMethod(s.getSelectionSort());
        
        for (int i = 0; i < statistics.length; i++) {
            System.out.println(sm.callback.sort()[i].toString());
        }
    }
}
